package com.hospital.phyexam.entity;

import java.util.ArrayList;
import java.util.List;

public class PhyexamInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PhyexamInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStuNumIsNull() {
            addCriterion("stu_num is null");
            return (Criteria) this;
        }

        public Criteria andStuNumIsNotNull() {
            addCriterion("stu_num is not null");
            return (Criteria) this;
        }

        public Criteria andStuNumEqualTo(String value) {
            addCriterion("stu_num =", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumNotEqualTo(String value) {
            addCriterion("stu_num <>", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumGreaterThan(String value) {
            addCriterion("stu_num >", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumGreaterThanOrEqualTo(String value) {
            addCriterion("stu_num >=", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumLessThan(String value) {
            addCriterion("stu_num <", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumLessThanOrEqualTo(String value) {
            addCriterion("stu_num <=", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumLike(String value) {
            addCriterion("stu_num like", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumNotLike(String value) {
            addCriterion("stu_num not like", value, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumIn(List<String> values) {
            addCriterion("stu_num in", values, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumNotIn(List<String> values) {
            addCriterion("stu_num not in", values, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumBetween(String value1, String value2) {
            addCriterion("stu_num between", value1, value2, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNumNotBetween(String value1, String value2) {
            addCriterion("stu_num not between", value1, value2, "stuNum");
            return (Criteria) this;
        }

        public Criteria andStuNameIsNull() {
            addCriterion("stu_name is null");
            return (Criteria) this;
        }

        public Criteria andStuNameIsNotNull() {
            addCriterion("stu_name is not null");
            return (Criteria) this;
        }

        public Criteria andStuNameEqualTo(String value) {
            addCriterion("stu_name =", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotEqualTo(String value) {
            addCriterion("stu_name <>", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameGreaterThan(String value) {
            addCriterion("stu_name >", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameGreaterThanOrEqualTo(String value) {
            addCriterion("stu_name >=", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameLessThan(String value) {
            addCriterion("stu_name <", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameLessThanOrEqualTo(String value) {
            addCriterion("stu_name <=", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameLike(String value) {
            addCriterion("stu_name like", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotLike(String value) {
            addCriterion("stu_name not like", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameIn(List<String> values) {
            addCriterion("stu_name in", values, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotIn(List<String> values) {
            addCriterion("stu_name not in", values, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameBetween(String value1, String value2) {
            addCriterion("stu_name between", value1, value2, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotBetween(String value1, String value2) {
            addCriterion("stu_name not between", value1, value2, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuSexIsNull() {
            addCriterion("stu_sex is null");
            return (Criteria) this;
        }

        public Criteria andStuSexIsNotNull() {
            addCriterion("stu_sex is not null");
            return (Criteria) this;
        }

        public Criteria andStuSexEqualTo(Integer value) {
            addCriterion("stu_sex =", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexNotEqualTo(Integer value) {
            addCriterion("stu_sex <>", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexGreaterThan(Integer value) {
            addCriterion("stu_sex >", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_sex >=", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexLessThan(Integer value) {
            addCriterion("stu_sex <", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexLessThanOrEqualTo(Integer value) {
            addCriterion("stu_sex <=", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexIn(List<Integer> values) {
            addCriterion("stu_sex in", values, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexNotIn(List<Integer> values) {
            addCriterion("stu_sex not in", values, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexBetween(Integer value1, Integer value2) {
            addCriterion("stu_sex between", value1, value2, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_sex not between", value1, value2, "stuSex");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationIsNull() {
            addCriterion("phy_exm_nation is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationIsNotNull() {
            addCriterion("phy_exm_nation is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationEqualTo(String value) {
            addCriterion("phy_exm_nation =", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotEqualTo(String value) {
            addCriterion("phy_exm_nation <>", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationGreaterThan(String value) {
            addCriterion("phy_exm_nation >", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_nation >=", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationLessThan(String value) {
            addCriterion("phy_exm_nation <", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_nation <=", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationLike(String value) {
            addCriterion("phy_exm_nation like", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotLike(String value) {
            addCriterion("phy_exm_nation not like", value, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationIn(List<String> values) {
            addCriterion("phy_exm_nation in", values, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotIn(List<String> values) {
            addCriterion("phy_exm_nation not in", values, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationBetween(String value1, String value2) {
            addCriterion("phy_exm_nation between", value1, value2, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmNationNotBetween(String value1, String value2) {
            addCriterion("phy_exm_nation not between", value1, value2, "phyExmNation");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeIsNull() {
            addCriterion("phy_exm_age is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeIsNotNull() {
            addCriterion("phy_exm_age is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeEqualTo(Integer value) {
            addCriterion("phy_exm_age =", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeNotEqualTo(Integer value) {
            addCriterion("phy_exm_age <>", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeGreaterThan(Integer value) {
            addCriterion("phy_exm_age >", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("phy_exm_age >=", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeLessThan(Integer value) {
            addCriterion("phy_exm_age <", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeLessThanOrEqualTo(Integer value) {
            addCriterion("phy_exm_age <=", value, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeIn(List<Integer> values) {
            addCriterion("phy_exm_age in", values, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeNotIn(List<Integer> values) {
            addCriterion("phy_exm_age not in", values, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeBetween(Integer value1, Integer value2) {
            addCriterion("phy_exm_age between", value1, value2, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andPhyExmAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("phy_exm_age not between", value1, value2, "phyExmAge");
            return (Criteria) this;
        }

        public Criteria andDepartNameIsNull() {
            addCriterion("depart_name is null");
            return (Criteria) this;
        }

        public Criteria andDepartNameIsNotNull() {
            addCriterion("depart_name is not null");
            return (Criteria) this;
        }

        public Criteria andDepartNameEqualTo(String value) {
            addCriterion("depart_name =", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameNotEqualTo(String value) {
            addCriterion("depart_name <>", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameGreaterThan(String value) {
            addCriterion("depart_name >", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameGreaterThanOrEqualTo(String value) {
            addCriterion("depart_name >=", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameLessThan(String value) {
            addCriterion("depart_name <", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameLessThanOrEqualTo(String value) {
            addCriterion("depart_name <=", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameLike(String value) {
            addCriterion("depart_name like", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameNotLike(String value) {
            addCriterion("depart_name not like", value, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameIn(List<String> values) {
            addCriterion("depart_name in", values, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameNotIn(List<String> values) {
            addCriterion("depart_name not in", values, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameBetween(String value1, String value2) {
            addCriterion("depart_name between", value1, value2, "departName");
            return (Criteria) this;
        }

        public Criteria andDepartNameNotBetween(String value1, String value2) {
            addCriterion("depart_name not between", value1, value2, "departName");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoIsNull() {
            addCriterion("stu_contact_info is null");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoIsNotNull() {
            addCriterion("stu_contact_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoEqualTo(String value) {
            addCriterion("stu_contact_info =", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoNotEqualTo(String value) {
            addCriterion("stu_contact_info <>", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoGreaterThan(String value) {
            addCriterion("stu_contact_info >", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoGreaterThanOrEqualTo(String value) {
            addCriterion("stu_contact_info >=", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoLessThan(String value) {
            addCriterion("stu_contact_info <", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoLessThanOrEqualTo(String value) {
            addCriterion("stu_contact_info <=", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoLike(String value) {
            addCriterion("stu_contact_info like", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoNotLike(String value) {
            addCriterion("stu_contact_info not like", value, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoIn(List<String> values) {
            addCriterion("stu_contact_info in", values, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoNotIn(List<String> values) {
            addCriterion("stu_contact_info not in", values, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoBetween(String value1, String value2) {
            addCriterion("stu_contact_info between", value1, value2, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andStuContactInfoNotBetween(String value1, String value2) {
            addCriterion("stu_contact_info not between", value1, value2, "stuContactInfo");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryIsNull() {
            addCriterion("phy_exm_medical_history is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryIsNotNull() {
            addCriterion("phy_exm_medical_history is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryEqualTo(String value) {
            addCriterion("phy_exm_medical_history =", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotEqualTo(String value) {
            addCriterion("phy_exm_medical_history <>", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryGreaterThan(String value) {
            addCriterion("phy_exm_medical_history >", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_medical_history >=", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryLessThan(String value) {
            addCriterion("phy_exm_medical_history <", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_medical_history <=", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryLike(String value) {
            addCriterion("phy_exm_medical_history like", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotLike(String value) {
            addCriterion("phy_exm_medical_history not like", value, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryIn(List<String> values) {
            addCriterion("phy_exm_medical_history in", values, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotIn(List<String> values) {
            addCriterion("phy_exm_medical_history not in", values, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryBetween(String value1, String value2) {
            addCriterion("phy_exm_medical_history between", value1, value2, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmMedicalHistoryNotBetween(String value1, String value2) {
            addCriterion("phy_exm_medical_history not between", value1, value2, "phyExmMedicalHistory");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceIsNull() {
            addCriterion("phy_exm_birth_place is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceIsNotNull() {
            addCriterion("phy_exm_birth_place is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceEqualTo(String value) {
            addCriterion("phy_exm_birth_place =", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotEqualTo(String value) {
            addCriterion("phy_exm_birth_place <>", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceGreaterThan(String value) {
            addCriterion("phy_exm_birth_place >", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_birth_place >=", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceLessThan(String value) {
            addCriterion("phy_exm_birth_place <", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_birth_place <=", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceLike(String value) {
            addCriterion("phy_exm_birth_place like", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotLike(String value) {
            addCriterion("phy_exm_birth_place not like", value, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceIn(List<String> values) {
            addCriterion("phy_exm_birth_place in", values, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotIn(List<String> values) {
            addCriterion("phy_exm_birth_place not in", values, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceBetween(String value1, String value2) {
            addCriterion("phy_exm_birth_place between", value1, value2, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andPhyExmBirthPlaceNotBetween(String value1, String value2) {
            addCriterion("phy_exm_birth_place not between", value1, value2, "phyExmBirthPlace");
            return (Criteria) this;
        }

        public Criteria andProNameIsNull() {
            addCriterion("pro_name is null");
            return (Criteria) this;
        }

        public Criteria andProNameIsNotNull() {
            addCriterion("pro_name is not null");
            return (Criteria) this;
        }

        public Criteria andProNameEqualTo(String value) {
            addCriterion("pro_name =", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotEqualTo(String value) {
            addCriterion("pro_name <>", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThan(String value) {
            addCriterion("pro_name >", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThanOrEqualTo(String value) {
            addCriterion("pro_name >=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThan(String value) {
            addCriterion("pro_name <", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThanOrEqualTo(String value) {
            addCriterion("pro_name <=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLike(String value) {
            addCriterion("pro_name like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotLike(String value) {
            addCriterion("pro_name not like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameIn(List<String> values) {
            addCriterion("pro_name in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotIn(List<String> values) {
            addCriterion("pro_name not in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameBetween(String value1, String value2) {
            addCriterion("pro_name between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotBetween(String value1, String value2) {
            addCriterion("pro_name not between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianIsNull() {
            addCriterion("pro_rslt_physician is null");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianIsNotNull() {
            addCriterion("pro_rslt_physician is not null");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianEqualTo(String value) {
            addCriterion("pro_rslt_physician =", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianNotEqualTo(String value) {
            addCriterion("pro_rslt_physician <>", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianGreaterThan(String value) {
            addCriterion("pro_rslt_physician >", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianGreaterThanOrEqualTo(String value) {
            addCriterion("pro_rslt_physician >=", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianLessThan(String value) {
            addCriterion("pro_rslt_physician <", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianLessThanOrEqualTo(String value) {
            addCriterion("pro_rslt_physician <=", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianLike(String value) {
            addCriterion("pro_rslt_physician like", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianNotLike(String value) {
            addCriterion("pro_rslt_physician not like", value, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianIn(List<String> values) {
            addCriterion("pro_rslt_physician in", values, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianNotIn(List<String> values) {
            addCriterion("pro_rslt_physician not in", values, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianBetween(String value1, String value2) {
            addCriterion("pro_rslt_physician between", value1, value2, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andProRsltPhysicianNotBetween(String value1, String value2) {
            addCriterion("pro_rslt_physician not between", value1, value2, "proRsltPhysician");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionIsNull() {
            addCriterion("phy_exm_conclusion is null");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionIsNotNull() {
            addCriterion("phy_exm_conclusion is not null");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionEqualTo(String value) {
            addCriterion("phy_exm_conclusion =", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotEqualTo(String value) {
            addCriterion("phy_exm_conclusion <>", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionGreaterThan(String value) {
            addCriterion("phy_exm_conclusion >", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionGreaterThanOrEqualTo(String value) {
            addCriterion("phy_exm_conclusion >=", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionLessThan(String value) {
            addCriterion("phy_exm_conclusion <", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionLessThanOrEqualTo(String value) {
            addCriterion("phy_exm_conclusion <=", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionLike(String value) {
            addCriterion("phy_exm_conclusion like", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotLike(String value) {
            addCriterion("phy_exm_conclusion not like", value, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionIn(List<String> values) {
            addCriterion("phy_exm_conclusion in", values, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotIn(List<String> values) {
            addCriterion("phy_exm_conclusion not in", values, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionBetween(String value1, String value2) {
            addCriterion("phy_exm_conclusion between", value1, value2, "phyExmConclusion");
            return (Criteria) this;
        }

        public Criteria andPhyExmConclusionNotBetween(String value1, String value2) {
            addCriterion("phy_exm_conclusion not between", value1, value2, "phyExmConclusion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}